@echo off

rmdir /S /Q tmp

rmdir /S /Q .\build\Linux
rmdir /S /Q .\build\VS2008Win32Debug
rmdir /S /Q .\build\VS2008Win32Release
rmdir /S /Q .\build\VS2010Win32Debug
rmdir /S /Q .\build\VS2010Win32Release

del /Q .\prj\VS2008\*.ncb
del /Q .\prj\VS2008\*.sdf

del /Q .\prj\VS2010\*.sdf
rmdir /S /Q .\prj\VS2010\ipch

if not [%1]==[nopause] pause